package com.qyer.lxp.model.product.normal;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * 获取产品信息描述
 * Created by wangzhen on 16/5/18.
 */

@XmlRootElement(name = "description")
@XmlAccessorType(XmlAccessType.FIELD)
public class ProductDesc implements Serializable{
    private static final long serialVersionUID = 2299530736223326143L;

    private int id;

    /**
     * 标题
     */
    @XmlElement(name = "title")
    private String title;

    /**
     * 内容
     */
    @XmlElement(name = "content")
    private String content;

    /**
     * 图片
     */
    @XmlElement(name = "image")
    private String image;

    private String productCode;

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "descriptions{" +
                "title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", image='" + image + '\'' +
                '}';
    }
}
